//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace;

import android.location.GpsStatus;
import android.location.GpsStatus.Listener;
import android.os.Build.VERSION;

final class al implements Listener {
    al(ak var1) {
        this.a = var1;
        super();
    }

    public final void onGpsStatusChanged(int var1) {
        GpsStatus var2;
        if(VERSION.SDK_INT < 24) {
            var2 = ak.a(this.a).getGpsStatus((GpsStatus)null);
            ak.a(this.a, var1, var2);
        } else {
            try {
                var2 = ak.a(this.a).getGpsStatus((GpsStatus)null);
                ak.a(this.a, var1, var2);
            } catch (Exception var3) {
                ak.a(this.a, 1);
            }
        }
    }
}
